package teste;

import controller.TopicosController;
import controller.PrincipalController;
import view.PrincipalView;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			
			SwingUtilities.invokeLater(new Runnable() {
				//String [] tp1={"Topico1","Topico2"};
				//String [] tp2={"Topico3","Topico4"};
				//String [] tp3={"Topico5","Topico6"};
				public void run() {
					PrincipalController pc = new PrincipalController();
					TopicosController tc = new TopicosController();
					PrincipalView application = new PrincipalView();
					application.getJFrame().setVisible(true);
					
					
				}
			});
		}
		catch (ArrayIndexOutOfBoundsException e) {
			e.printStackTrace();
		}
		catch ( Exception e) {
			e.printStackTrace();
		}
	}

}
